home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tools
/
vim
/
src
/
makefile.bcc
< prev
next >
Wrap
Makefile
|
1995-03-09
|
4KB
|
246 lines
#
# Makefile for Borland C++ 2.0
# Can also be used for Turbo C++
#
# The options are at the end of this file
#
.AUTODEPEND
# *Translator Definitions*
# use tcc for Turbo C++
CC = bcc +VIM.CFG
#CC = tcc +VIM.CFG
TASM = TASM
TLIB = tlib
TLINK = tlink
#
# Adjust the paths for your environment
# use the first two if you don't have the spawno library
# then also remove the SPAWNO define further down and the line
# with spawnl.lib
#
#LIBPATH = C:\BORLANDC\LIB
#INCLUDEPATH = C:\BORLANDC\INCLUDE
LIBPATH = C:\BORLANDC\LIB;C:\CC\SPAWN
INCLUDEPATH = C:\BORLANDC\INCLUDE;C:\CC\SPAWN
# *Implicit Rules*
#
# use -v for debugging
#
.c.obj:
$(CC) -c {$< }
# $(CC) -c -v {$< }
# *List Macros*
EXE_dependencies = \
alloc.obj \
buffer.obj \
charset.obj \
cmdcmds.obj \
cmdline.obj \
csearch.obj \
digraph.obj \
edit.obj \
fileio.obj \
getchar.obj \
help.obj \
linefunc.obj \
main.obj \
mark.obj \
memfile.obj \
memline.obj \
message.obj \
misccmds.obj \
msdos.obj \
normal.obj \
ops.obj \
param.obj \
quickfix.obj \
regexp.obj \
regsub.obj \
screen.obj \
search.obj \
tag.obj \
term.obj \
undo.obj \
window.obj \
version.obj
# *Explicit Rules*
# add /v to TLINK for degubbing
vim.exe: vim.cfg $(EXE_dependencies)
$(CC) -c version.c
$(TLINK) /x/c/L$(LIBPATH) @&&|
c0l.obj+
alloc.obj+
buffer.obj+
charset.obj+
cmdcmds.obj+
cmdline.obj+
csearch.obj+
digraph.obj+
edit.obj+
fileio.obj+
getchar.obj+
help.obj+
linefunc.obj+
main.obj+
mark.obj+
memfile.obj+
memline.obj+
message.obj+
misccmds.obj+
msdos.obj+
normal.obj+
ops.obj+
param.obj+
quickfix.obj+
regexp.obj+
regsub.obj+
screen.obj+
search.obj+
tag.obj+
term.obj+
undo.obj+
window.obj+
version.obj
vim
# no map file
fp87.lib+
mathl.lib+
spawnl.lib+
cl.lib
|
# *Individual File Dependencies*
alloc.obj: alloc.c
buffer.obj: buffer.c
charset.obj: charset.c
cmdcmds.obj: cmdcmds.c
cmdline.obj: cmdline.c cmdtab.h
cmdtab.h: cmdtab.tab mkcmdtab.exe
mkcmdtab cmdtab.tab cmdtab.h
mkcmdtab.exe: mkcmdtab.obj
$(CC) -ml -omkcmdtab mkcmdtab.obj
mkcmdtab.obj: mkcmdtab.c
$(CC) $(CFLAGS) mkcmdtab.c
csearch.obj: csearch.c
digraph.obj: digraph.c
edit.obj: edit.c
fileio.obj: fileio.c
getchar.obj: getchar.c
help.obj: help.c
linefunc.obj: linefunc.c
main.obj: main.c globals.h param.h
mark.obj: mark.c
memfile.obj: memfile.c
memline.obj: memline.c
message.obj: message.c
misccmds.obj: misccmds.c
msdos.obj: msdos.c
normal.obj: normal.c ops.h
ops.obj: ops.c ops.h
param.obj: param.c
quickfix.obj: quickfix.c
regexp.obj: regexp.c
regsub.obj: regsub.c
screen.obj: screen.c
search.obj: search.c
tag.obj: tag.c
term.obj: term.c term.h
undo.obj: undo.c
window.obj: window.c
version.obj: version.c
# *Compiler Configuration File*
# The following compile options can be changed for better machines.
# replace -1- with -2 to produce code for a 80286 or higher
# replace -1- with -3 to produce code for a 80386 or higher
# add -v for source debugging
vim.cfg: makefile
copy &&|
-ml
-1-
-f-
-C
-N
-O
-Z
-k-
-d
-h
-vi-
-H=VIM.SYM
-w-par
-w-pro
-weas
-wpre
-I$(INCLUDEPATH)
-L$(LIBPATH)
-DPC;MSDOS;SPAWNO;DIGRAPHS;WEBB_COMPLETE;WEBB_KEYWORD_COMPL
| vim.cfg
#
# options:
### -DDIGRAPHS digraph support (at the cost of 1.6 Kbyte code)
### -DNO_ARP do not use arp.library, DOS 2.0 required
### -DCOMPATIBLE start in vi-compatible mode
### -DNOBACKUP default is no backup file
### -DDEBUG output a lot of debugging garbage
### -DTERMCAP include termcap file support
### -DNO_BUILTIN_TCAPS do not include builtin termcap entries
### (use only with -DTERMCAP)
### -DSOME_BUILTIN_TCAPS include most useful builtin termcap entries
### (use only without -DNO_BUILTIN_TCAPS)
### -DALL_BUILTIN_TCAPS include all builtin termcap entries
### (use only without -DNO_BUILTIN_TCAPS)
### -DVIMRC_FILE name of the .vimrc file in current dir
### -DEXRC_FILE name of the .exrc file in current dir
### -DSYSVIMRC_FILE name of the global .vimrc file
### -DSYSEXRC_FILE name of the global .exrc file
### -DDEFVIMRC_FILE name of the system-wide .vimrc file
### -DVIM_HLP name of the help file
### -DWEBB_COMPLETE include Webb's code for command line completion
### -DWEBB_KEYWORD_COMPL include Webb's code for keyword completion
### -DNOTITLE 'title' option off by default